/**
 * 
 */
package org.jenkon;

import java.io.Serializable;
import java.util.List;

/**
 * Interface for searching classes.
 * 
 * @author Jens Konopka
 * 
 */
public interface ClassScanner extends Serializable {

	/**
	 * Search all Classes.
	 * 
	 * @return {@link List} with founding classes
	 */
	List<Class<?>> scan();

	/**
	 * Search all Classes.
	 * 
	 * @param packageName for check only this packageName
	 * @return {@link List} with founding classes
	 */
	List<Class<?>> scan(final String packageName);

}
